February 4 ,2006 RELIABLE AND FAIR JAVA SOLUTION : SIMULATED IN ADA
version PROGMONITORINGJavaCDefensive avec Get_LR seul 
Fi36le RFCHOP JAVA ADA

*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE AND FAIR JAVA SOLUTION, BOOKING LEFT AND RIGHT STICK 
*****   AND GIVING PRECEDENCE TO ALREADY WAITING NEIGHBOURS 
*****   SIMULATED IN ADA WITH CONCURRENCY INSTRUMENTATION
 5 philosophers thinking 0.010000000 and eating 0.010000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100000
 NbPairs :  36395
 NbRequestSingletons :  63605
 NbStructuralRefusals :  103130
 NbCautiousRefusals :  92903
 Total number of denials =   196033
      Total simulation time is    526.951076000
      Mean allocation time is     284.626596200
      Allocation ratio is         0.540138561
      Philosopher  0  remains hungry during  283.808582000
      Philosopher  1  remains hungry during  284.063901000
      Philosopher  2  remains hungry during  285.564736000
      Philosopher  3  remains hungry during  284.116242000
      Philosopher  4  remains hungry during  285.579520000

real    8m47.240s
user    0m19.560s
sys     0m9.830s

***********************************************


*****   DINING PHILOSOPHERS WITH STICK ALLOCATION AS MANY AS AVAILABLE
*****   RELIABLE AND FAIR JAVA SOLUTION, BOOKING LEFT AND RIGHT STICK 
*****   AND GIVING PRECEDENCE TO ALREADY WAITING NEIGHBOURS 
*****   SIMULATED IN ADA WITH CONCURRENCY INSTRUMENTATION
 5 philosophers thinking 0.010000000 and eating 0.010000000
 and (when Java monitor semantics) requesting 0.000000000
                 CONCURRENCY MEASURES DISPLAY
 NbMealsAttended =   100000
 NbPairs :  35933
 NbRequestSingletons :  64067
 NbStructuralRefusals :  102759
 NbCautiousRefusals :  91859
 Total number of denials =   194618
      Total simulation time is    614.442229000
      Mean allocation time is     342.890592200
      Allocation ratio is         0.558051800
      Philosopher  0  remains hungry during  342.965474000
      Philosopher  1  remains hungry during  341.503129000
      Philosopher  2  remains hungry during  342.751771000
      Philosopher  3  remains hungry during  344.218937000
      Philosopher  4  remains hungry during  343.013650000

real    10m14.626s
user    0m21.070s
sys     0m10.980s